<template>
	<view class="">
		<view>
			<u-steps :list="numList" :current="0" mode="dot"></u-steps>
		</view>
		<view class="title">
			<view class=" nav ">
				姓名 <input type="text" value="" placeholder="请输入真实姓名" />
			</view>
			<view class="nav">
				性别 <input type="text" value="" placeholder="请输入真实姓名" />
			</view>
			<view class="nav">
				申请业务 <input type="text" value="" placeholder="请输入真实姓名" />
			</view>
			<view class="nav">
				证件号码 <input type="text" value="" placeholder="请输入真实姓名" />
			</view>
			<view class="nav">
				所在地区
					<u-picker mode="region" v-model="show" @confirm="chuan"></u-picker>
			</view>
			<view class="nav">
				详细地址 <input type="text" value="" placeholder="请输入真实姓名" />
			</view>
		</view>
		<!-- 现场培训 -->
		<view class="">
			<view class="">
				<text>选择城市</text><input type="text" value="" />
			</view>
			<view class="">
				<text>选择培训站点</text><input type="text" value="" />
			</view>
			<view class="">
				预约时间
			</view>
		</view>
		<view class="" @click="goinvite">
			<button type="default">提交</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				numList: [{
					name: '实名认证'
				}, {
					name: '申请类型'
				}, {
					name: '现场培训'
				}],
				params: {
					province: true,
						city: true,
						area: true
				},
				show: true
			}
		},
		methods:{
			chuan(res){
				console.log(res)
			},
			goinvite(e) {
				console.log(e)
				uni.navigateTo({
					url: "/pages/index/invite"
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	image {
		width: 100rpx;
		height: 100rpx;
		border: 1rpx solid;
		border-radius: 50%;
	}

	.title {
		width: 90%;
		margin: 40rpx auto;
	}

	.nav {
		display: flex;
		justify-content: space-between;
		border-bottom: 1rpx solid #bcbcbc;
		height: 60rpx;
		line-height: 60rpx;
		margin: 20rpx 0;
	}
</style>
